home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / tcp_ip / ka9q / kit_src / proc00a.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-03  |  985 b   |  41 lines

  1. /*    (C) Copyright 1991 Dave Fritsche (wb8zxu), All Rights Reserved.
  2.  * 
  3.  *    Redistribution and use in source and binary forms are permitted for
  4.  *    non-commercial use, provided that the above copyright notice and this
  5.  *    paragraph are duplicated in all such forms.  THIS SOFTWARE IS PROVIDED
  6.  *    ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
  7.  *    WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
  8.  *    FITNESS FOR A PARTICULAR PURPOSE.
  9.  */
  10. #include <stdio.h>
  11. #include <ctype.h>
  12. #include "screen.h"
  13.  
  14. proc00a()
  15. {
  16.  
  17. /* INSTALL KA9Q */
  18.     if ( (ifd[0][0] == 'y') || (ifd[0][0] == 'Y') )
  19.         ka9q = 1;
  20.     else
  21.         ka9q = 0;
  22.  
  23. /* INSTALL G1EMM */
  24.     if ( (ifd[1][0] == 'y') || (ifd[1][0] == 'Y') )
  25.         g1emm = 1;
  26.     else
  27.         g1emm = 0;
  28.  
  29. /* INSTALL BM */
  30.     if ( (ifd[2][0] == 'y') || (ifd[2][0] == 'Y') )
  31.         bm = 1;
  32.     else
  33.         bm = 0;
  34.  
  35. /* INSTALL NETNEWS */
  36.     if ( (ifd[3][0] == 'y') || (ifd[3][0] == 'Y') )
  37.         netnews = 1;
  38.     else
  39.         netnews = 0;
  40. }
  41.